Package-level declarations

Types

Link copied to clipboard

Processes chunks in fixed-size windows: each window fans out concurrently on the injected executor and is fully joined before the next window starts. This is the rate-limit lever — it caps in-flight extract() calls to batchSize at a time. Results are returned in input order.

Link copied to clipboard

The outcome of processing a single chunk through the proposition pipeline.

Link copied to clipboard

Controls how the PropositionPipeline dispatches the stateless per-chunk extraction stage. Implementations choose serial or concurrent execution; the resolution stage (entity resolution) always runs serially regardless of the strategy, preserving cross-chunk entity identity.

Link copied to clipboard

Fans all chunks out concurrently on the executor via CompletableFuture, then joins them in input order. A failed extraction yields a null slot.

Link copied to clipboard

Result of entity and proposition extraction that can be persisted. Combines com.embabel.dice.common.EntityExtractionResult and PropositionExtractionResult. Guides callers to know what to persist, within their own transaction scope.

Link copied to clipboard

Common interface for proposition revision statistics.

Link copied to clipboard
data class PropositionExtractionStats(val newCount: Int, val mergedCount: Int, val reinforcedCount: Int, val contradictedCount: Int, val generalizedCount: Int)

Statistics about proposition revision outcomes.

Link copied to clipboard

Pipeline for extracting propositions from chunks. Coordinates extraction and entity resolution.

Link copied to clipboard
data class PropositionResults(val chunkResults: List<ChunkPropositionResult>, val allPropositions: List<Proposition>) : PersistablePropositions

Result of processing multiple chunks through the proposition pipeline. Implements EntityExtractionResult for access to entities needing persistence.

Link copied to clipboard

Default strategy: processes each chunk one at a time on the calling thread. A failed extraction produces a null slot rather than propagating the exception.